package com.kll.carolinehmibiz.net

import io.reactivex.Observable
import okhttp3.ResponseBody
import retrofit2.http.GET
import retrofit2.http.Streaming
import retrofit2.http.Url

/**
 * ====================================================
 * Created by Ziliang Cai  on 2021/12/06 21:16
 * <a href="mailto:752577456@qq.com">Contact me</a>
 * ====================================================
 */
open interface CarolineFileNetApi {

    /**
     * 下载文件
     */
    @Streaming
    @GET
    fun downloadFile(@Url url: String): Observable<ResponseBody>
}